{% extends 'base.html' %}

{% load url from future %}
{% block java_script %}
{% load static %}
<script type='text/javascript' 
  src='{% get_static_prefix %}js/items.js'>
</script>
{% endblock %}

{% block content %}
<h3>Inventory items <span id="item-count-badge" class="badge badge-info"></span></h3>
<p/>
<table id='inventory-items-table' class='table table-striped table-condensed'>
    <thead>
        <tr><th>Name</th><th>Version(s)</th></tr>
    </thead>
    <tbody>
        <!-- table is filled via AJAX/JSON calls by DataTables -->
        <!-- see js/items.js -->
    </tbody>
</table>
{% endblock %}